<form style="padding: 30px;" class="layui-form layui-form-pane" action="">

    <input type="hidden" name="id" value="{$info.id}">

    <div class="layui-form-item">
        <label class="layui-form-label">链接名称</label>
        <div class="layui-input-inline seller-inline-5">
            <input type="text " name="name" value="{$info.name}" required lay-verify="required" placeholder="请输入链接名称" autocomplete="off " class="layui-input ">
        </div>
    </div>

    <div class="layui-form-item ">
        <label class="layui-form-label ">LOGO</label>
        <div class="layui-input-inline seller-inline-5">
            {Jhcms:image id='image' name="image" value="$info.image" /}
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">链接URL</label>
        <div class="layui-input-inline seller-inline-5">
            <input type="text" name="url" value="{$info.url}" required lay-verify="required" placeholder="请输入链接地址" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">排序：</label>
        <div class="layui-input-inline seller-inline-5">
            <input type="text" name="sort" lay-verify="title" value="100" placeholder="请输入排序" autocomplete="off" class="layui-input">
        </div>
    </div>

    <button type="button" class="layui-btn layui-btn-fluid" lay-submit lay-filter="editHandler">保存</button>
</form>

<script>
    //Demo
    layui.use('form', function() {
        var form = layui.form;
        form.render()
    });
</script>